import axios from '../utils/request';

// 获取页面列表
const getPageList = function (data) {
    return axios.get('/api/get/page',{params:data})
}
// 获取页面详情
const getPageDetail = function (id) {
    return axios.get('/api/page/detail/'+id)
}

export default {
    getPageList,
    getPageDetail
}